<?php
//This is the add-file-view, wcich is still under development.
//There is missing some exception-handeling and
//form validation and uploading of photo



echo heading("Add File Details", 2);
echo form_open('files/add_details');


echo form_hidden('id',$file_id);
echo br(2);
echo form_label('Title:', 'title');
$input = array('name' => 'title', 'id' => 'title', 'size'=> 40);
echo form_input($input);


echo form_label('Description:', 'description');
echo br();
$input = array('name' => 'description', 'id' => 'description', 'rows'=> 10, 'cols' => 35);
echo form_textarea($input);

//tag_field(); Bilde

echo br(2);
echo form_submit('add','add');

echo form_close();

?>